package org.jeecg.modules.pbmp.reimbursementInfo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.modules.pbmp.trafficStay.entity.TrafficStay;
import org.jeecg.modules.pbmp.travelAllowance.entity.TravelAllowance;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Description: 报销单管理
 * @Author: jeecg-boot
 * @Date:   2021-01-30
 * @Version: V1.0
 */
@Data
@TableName("pbmp_reimbursement_info")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="pbmp_reimbursement_info对象", description="报销单管理")
public class ReimbursementListInfo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**项目ID*/
	@Excel(name = "项目ID", width = 15)
    @ApiModelProperty(value = "项目ID")
    private String projectId;
	/**部门*/
	@Excel(name = "部门", width = 15)
    @ApiModelProperty(value = "部门")
    private String departName;
	/**时间*/
	@Excel(name = "时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "时间")
    private Date infoTime;
	/**市内交通费*/
	@Excel(name = "市内交通费", width = 15)
    @ApiModelProperty(value = "市内交通费")
    private BigDecimal trafficAmount;
	/**业务招待费*/
	@Excel(name = "业务招待费", width = 15)
    @ApiModelProperty(value = "业务招待费")
    private BigDecimal businessAmount;
	/**通信费*/
	@Excel(name = "通信费", width = 15)
    @ApiModelProperty(value = "通信费")
    private BigDecimal correspondAmount;
	/**租赁费*/
	@Excel(name = "租赁费", width = 15)
    @ApiModelProperty(value = "租赁费")
    private BigDecimal leaseAmount;
	/**办公费*/
	@Excel(name = "办公费", width = 15)
    @ApiModelProperty(value = "办公费")
    private BigDecimal officeAmount;
	/**物业费*/
	@Excel(name = "物业费", width = 15)
    @ApiModelProperty(value = "物业费")
    private BigDecimal propertyAmount;
	/**车杂费*/
	@Excel(name = "车杂费", width = 15)
    @ApiModelProperty(value = "车杂费")
    private BigDecimal carAmount;
	/**低值易耗品*/
	@Excel(name = "低值易耗品", width = 15)
    @ApiModelProperty(value = "低值易耗品")
    private BigDecimal lowAmount;
	/**物料购置费*/
	@Excel(name = "物料购置费", width = 15)
    @ApiModelProperty(value = "物料购置费")
    private BigDecimal materielAmount;
	/**物流费*/
	@Excel(name = "物流费", width = 15)
    @ApiModelProperty(value = "物流费")
    private BigDecimal logisticsAmount;
	/**其他*/
	@Excel(name = "其他", width = 15)
    @ApiModelProperty(value = "其他")
    private BigDecimal otherAmount;
	/**差旅说明*/
	@Excel(name = "差旅说明", width = 15)
    @ApiModelProperty(value = "差旅说明")
    private String travelNotes;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建人名字*/
	@Excel(name = "创建人名字", width = 15)
    @ApiModelProperty(value = "创建人名字")
    private String createName;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private String updateBy;
	/**修改人名字*/
	@Excel(name = "修改人名字", width = 15)
    @ApiModelProperty(value = "修改人名字")
    private String updateName;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
	/**删除标记*/
	@Excel(name = "删除标记", width = 15)
    @ApiModelProperty(value = "删除标记")
    private Integer delflag;
	/**删除时间*/
	@Excel(name = "删除时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "删除时间")
    private Date delDate;
    @ExcelCollection(name="交通住宿补贴")
    private List<TrafficStay> trafficStayList;
    @ExcelCollection(name="出差补贴")
    private List<TravelAllowance> travelAllowanceList;
}
